package pers.jason.wppm.security.core.properties;

import lombok.Data;

/**
 * 
 * @author Jason
 * @Date 2018-10-29 17:43
 *
 */
@Data
public class BrowserProperties {

	/**
	 * 登录请求返回的信息类型
	 */
	private String loginResponseType = "HTML";

	
	/**
	 * 登录页
	 */
	private String loginPage = "/login.html";

	/**
	 * 登出成功后跳转页面
	 */
	private String logoutPage = "/login.html";
	
	/**
	 * 登录跳转url
	 */
	private String requestLoginUrl = "/authentication/page";

	/**
	 * 退出登录url
	 */
	private String requestLogoutUrl = "/logout";

	/**
	 * 表单登录请求的url
	 */
	private String formLoginUrl = "/authentication/form";

	private String mobileLoginUrl = "/authentication/mobile";

	private String mobileParamName = "mobile";


	
	/**
	 * 记住我过期时间，默认是1天
	 */
	private int rememberMeExpire = 60*60*24;
	
	private String permitUrls = "";

	private String signUpUrl = "/sign-up.html";

}
